package com.huaxinkai.mobile.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.huaxinkai.controller.BaseController;

@Controller
public class MBaseController extends BaseController{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 根目录
	 * @param model
	 * @param request
	 * @return
	 */
	@RequestMapping(value="/")
	public String index(Model model,HttpServletRequest request,HttpServletResponse response){
		System.out.println("---首页---");
//		String ua = request.getHeader("User-Agent");
//		System.out.println("用户浏览器类型："+ua);
		
		return "index";
	}
	
}
